package com.ljq;

import com.ljq.creature.Person;
import com.ljq.transport.Aircraft;
import com.ljq.transport.Ship;

public class Main {

    public static void main(String[] args) {
	// write your code here
        Person tom=new Person("20190001","tom",20,"male");

        Aircraft tomAircraft = new Aircraft();
        tom.driveTransport(tomAircraft);

        Ship tomShip = new Ship();
        tom.driveTransport(tomShip);
    }
}
